<template>
	<view class="wallet">
		<view class="wallet-content">
			<view class="wallet-top">
				其他
				<img @click="back" src="@/static/img/common_btn_return_n.png" style='width: 10px;height: 19px;' alt="">
			</view>
			<view class="wallet-item" >
				开票规则
				<view class="wallet-item-right">
					<img src="@/static/img/list_more_n.png" style='width: 10px;height: 17px;' />
				</view>
			</view>
			<view class="wallet-item" @click="apply">
				申请开票
				<view class="wallet-item-right">
					<img src="@/static/img/list_more_n.png" style='width: 10px;height: 17px;' />
				</view>
			</view>
			<view class="wallet-item" @click="history">
				开票历史
				<view class="wallet-item-right">
					<img src="@/static/img/list_more_n.png" style='width: 10px;height: 17px;' />
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default{
		methods:{
			back(){
				uni.navigateBack({
					delta:1
				})
			},
				
			apply(){
				uni.navigateTo({
					url:'./apply'
				})
			},
			history(){
				uni.navigateTo({
					url:'./history'
				})
			}
		}
	}
</script>

<style>
	.wallet{
			width: 100%;
			position: relative;
			background-color: #F2F4F7;
			height: 100%;
			overflow: auto;
		}
		.wallet-content{
			background-color: #fff;
		}
		.wallet-top img{
				position: absolute;
				left: 0px;
				top: 26px;
				padding: 12px;
			}
		.wallet-top img:active{
			  background-color: #eee;
		}
		.wallet-top{
			background-color: #fff;
			font-size: 16px;
			color: #35374b;
			text-align: center;
			height: 80px;
			line-height: 100px;
			border-bottom: 1px solid #DEDFE2;
		}
		.wallet-box{
			background-color: #fff;
			margin: 12px;
			background-color: #3d9bfe; /* 不支持线性的时候显示 */
			background-image: linear-gradient(to bottom right, #ff843e , #fe4447);
			border-radius: 10px;
			padding: 30px 24px 0px 24px;
			color: #fff;
			font-size: 14px;
		}
		.wallet-item:hover{
			background-color: #eee;
		}
		.wallet-box-content b{
			font-weight: 400;
			line-height: 80px;
			font-size: 39px;
			color: #fff;
		}
		.wallet-box-content span{
			font-size: 14px;
		}
		.wallet-box-right{
			float: right;
		}
		.chongzhi{
			height: 30px;
			line-height: 30px;
			font-size: 15px;
			background-color: #fff;	
			color: #fe4f52;
			border-radius: 20px;
			width: 90px;
			text-align: center;
		}
		.tuikuan{
			line-height: 14px;
			font-size: 14px;
			color: #ffffff;
			opacity: 0.9;
			margin-top: 20px;
			text-align: center;
		}
		hr{
			border: none;
			height: 6px;
			background-color: #f2f4f7;
		}
		.wallet-item{
			background-color: #fff;
			height: 60px;
			border-bottom: 1px solid #e1e1e3;
			margin: 0 12px 0 12px;
			padding-left: 10px;
			font-size: 15px;
			color: #35374B;
			line-height: 60px;
		}
		.wallet-item-right{
			float: right;
			font-size: 14px;
			color: #abacb4;
		}
		.wallet-item-right img{
			float: right;
			margin-top: 21px;
			margin-left: 6px;
			margin-right: 5px;
		}
		.wallet-item-end{
			height: 28px;
		}
	
</style>
